package com.shelpe.services.sinbad.entity.jpa.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.shelpe.services.sinbad.controller.LogDto.LogNoteable;

import lombok.Data;

@Data
public class KeywordsVo implements LogNoteable {
	@Data
	@JsonInclude(Include.NON_NULL)
	public static class Vo {
		@JsonProperty("user_id")
		private Long userId;
		@JsonProperty("keyword_id")
		private Long keywordId;
		@JsonProperty("campaign_id")
		private Long campaignId;
		@JsonProperty("adgroup_id")
		private Long adgroupId;
		@JsonProperty("qscore")
		private Integer qscore;
		@JsonProperty("wireless_qscore")
		private Integer wirelessQscore;
		@JsonProperty("match_scope")
		private Integer matchscope;
		@JsonProperty("nick")
		private String nick;
		@JsonProperty("word")
		private String word;
		@JsonProperty("max_price")
		private Integer maxPrice;
		@JsonProperty("is_default_price")
		private Boolean isDefaultPrice;
		@JsonProperty("audit_status")
		private String auditStatus;

		@JsonIgnore
		private String auditDesc;
		@JsonProperty("is_garbage")
		private Boolean isGarbage;
		@JsonProperty("create_time")
		@JsonFormat(shape = Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
		private Date createTime;
		@JsonProperty("modified_time")
		@JsonFormat(shape = Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
		private Date modifiedTime;

		@JsonProperty("max_mobile_price")
		private Integer maxMobilePrice;
		@JsonProperty("mobile_is_default_price")
		private Integer mobileIsDefaultPrice;
	}
}
